package com.imooc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 啊昌
 * @date 2025/9/10 19:35
 * Application 用户启动服务类
 */
@SpringBootApplication
@MapperScan(basePackages = "com.imooc.mapper")
@EnableDiscoveryClient // nacos 注册服务发现
public class Application {
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
